<div class="row">									
	<div class="col-sm-12">
			<h3 class="header blue lighter smaller">
				<i class="ace-icon fa fa-folder-o smaller-90"></i>
				供应商管理
			</h3>
		<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
				<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist">
					<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active" role="tab" tabindex="0" aria-controls="tabs-1" aria-labelledby="ui-id-29" aria-selected="true" aria-expanded="true">
						<a href="#tabs-1" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-29">
						<i class="green ace-icon fa fa-home bigger-120"></i>
						供应商列表
						</a>
					</li>
					<li class="ui-state-default ui-corner-top" role="tab" tabindex="-1" aria-controls="tabs-2" aria-labelledby="ui-id-30" aria-selected="false" aria-expanded="false">
						<a href="#tabs-2" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-30">
						<i class="green ace-icon fa  fa-credit-card bigger-120"></i>
						添加供应商
						</a>
					</li>
				</ul> 
	
				<div id="tabs-1" aria-labelledby="ui-id-29" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-hidden="false" style="display: block;">
				 	<?= $this->render('supplierlist')?>
				</div>
				<div id="tabs-2" aria-labelledby="ui-id-30" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-hidden="true" style="display: none;">
					<?= $this->render('_addsupplier',['supplierModel'=>$supplierModel])?>
				</div>
		</div>
	</div>
</div>	
<?php 								
$js= <<<JS
       $('#tabs').tabs();
                    		                  		                 		          
JS;
$this->registerJs($js);


